package mc0101.mccache.lock;

import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;

public class ZcCacheLocalLock {
    private static ZcCacheLocalLock zcCacheLocalLock = new ZcCacheLocalLock();

    private ReadWriteLock readWriteLock = new ReentrantReadWriteLock();

    private ZcCacheLocalLock(){}

    public static ZcCacheLocalLock getInstance(){
        return zcCacheLocalLock;
    }

    public ReadWriteLock getReadWriteLock(){return readWriteLock;}
}